<?php

/**
 * Qlist template
 * designed to display a list of items
 * like list of divs, each one is a question,
 * for example 'all questions' or by tag or 'hot questions'
 * it has 3 parts;
 * title, body and pagination block
 * 
 * The reason that pagination is included
 * in this template is because we can send this parsed
 * 
 * template as ajax response, and it will be complete
 * with pagination.
 *
 */
class tplQlist extends StudyBuddy\Template\Template
{
	protected static $vars = array(
	'qtypes' => '', 
	'qlist' => '', 
	'pages' => '',
	'notAjaxPaginatable' => '');

	// <div id="qpages">%3$s</div>
	protected static $tpl = '
	%1$s
	<div class="sortable paginated%4$s qlist">%2$s</div>
	%3$s';
	
}
